package JieKou;

/**
 * 短跑运动员
 */
public class SprintAthlete extends Athlete implements Sprint {
    public SprintAthlete(){
    }
    public SprintAthlete(String name,int age){
        super(name,age);
    }

    @Override
    public void sprint() {
        System.out.println(this.getName()+"擅长短跑");

    }
}
